All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.clocks.Clock

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.clocks.Clock

public final class Clock
extends Component
implements QuickTimeLib
The Clock implements methods for a corresponding QuickTime component. Clock components offer two basic services. They generate time information and schedule time-based callback events. Its methods offer access to a component's structure and its fields. refer to Clock Component in QuickTime


Constructor Index

 o Clock(int)
Opens the specified component,'clok', with the given subType.

Method Index

 o getTime()
Allows your application to obtain the current time according to the specified clock.

Constructors

 o Clock
 public Clock(int subType) throws QTException
Opens the specified component,'clok', with the given subType.

QuickTime::OpenADefaultComponent

Parameters:
type - the component type

Methods

 o getTime
 public TimeRecord getTime() throws QTException
Allows your application to obtain the current time according to the specified clock.

QuickTime::ClockGetTime

Returns:
The time value that contains the current time from the specified time base in specified time scale

All Packages  Class Hierarchy  This Package  Previous  Next  Index